const { baseName } = require('../../base.config')
import { BaseAxios } from '@/utils'

const APIQuestion = async params => BaseAxios.post(`${baseName}/llm/question`, params)

const APIAdd = async params => BaseAxios.post(`${baseName}/llm/add`, params)

const APIHome = async params => BaseAxios.get(`${baseName}/llm/home`, params)

const APIHistory = async params => BaseAxios.get(`${baseName}/llm/history`, params)

export {
    APIQuestion,
    APIAdd,
    APIHome,
    APIHistory
}